import Server from "../request";

import { hostURL } from "../utils/config";

const api = new Server(hostURL)
class DealApi {
    async list() {
        return api.get('/deal')
    }

    async modify(param) {
        return api.post('/deal', param)
    }
}

export default new DealApi;